package com.ruoyi.develop.lvRuku.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.lvRukumingxi.domain.LvRukumingxi;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库单对象 lv_ruku
 *
 * @author qh
 * @date 2024-09-12
 */
public class LvRuku extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 合同编码 */
    @Excel(name = "合同编码")
    private String code;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String name;

    /** 合同id */
    @Excel(name = "合同id")
    private String mainId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String nos;

    /** 订单日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "订单日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date ddDate;

    /** 需求日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date subDate;

    /** 类型   出库  入库  */
    @Excel(name = "类型")
    private String type;

    /** 入库类型 */
    @Excel(name = "入库类型")
    private String ywType;


    /** 入库来源 */
    @Excel(name = "入库来源")
    private String source;

    /** 到货id */
    private String daohuoId;

    /** 到货编号 */
    private String daohuoNos;


    /** 生产单id */
    private String produceRecordId;

    /** 生产单编号 */
    private String produceRecordNos;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal money;

    /** 总数量 */
    @Excel(name = "总数量")
    private BigDecimal counts;

    /** 总吨位 */
    @Excel(name = "总吨位")
    private BigDecimal dunwei;

    /** 供应商id */
    @Excel(name = "供应商id")
    private String supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 业务员 */
    @Excel(name = "业务员")
    private String userName;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String state;

    /** 入库人 */
    @Excel(name = "入库人")
    private String rukupeople;

    /** 入库人id */
    @Excel(name = "入库人id")
    private String rukuid;

    /** 入库日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rukuDate;

    /** 入库状态 */
    @Excel(name = "入库状态")
    private String status;
    private String bangdan;
    private String lvBuycreateUsername;
    private String daohuoName;
    private String zhijianName;
    private String shourenName;

    /** * 领料人   */
    private String picker;

    private String outFlag;
    public String getOutFlag() {
        return outFlag;
    }
    public void setOutFlag(String outFlag) {
        this.outFlag = outFlag;
    }
    public String getPicker() {
        return picker;
    }
    public void setPicker(String picker) {
        this.picker = picker;
    }
    public String getLvBuycreateUsername() {
        return lvBuycreateUsername;
    }
    public void setLvBuycreateUsername(String lvBuycreateUsername) {
        this.lvBuycreateUsername = lvBuycreateUsername;
    }
    public String getDaohuoName() {
        return daohuoName;
    }
    public void setDaohuoName(String daohuoName) {
        this.daohuoName = daohuoName;
    }
    public String getZhijianName() {
        return zhijianName;
    }
    public void setZhijianName(String zhijianName) {
        this.zhijianName = zhijianName;
    }
    public String getShourenName() {
        return shourenName;
    }
    public void setShourenName(String shourenName) {
        this.shourenName = shourenName;
    }
    private List<LvRukumingxi> detailList;

    public String getBangdan() {
        return bangdan;
    }

    public void setBangdan(String bangdan) {
        this.bangdan = bangdan;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setMainId(String mainId)
            {
            this.mainId = mainId;
            }

    public String getMainId()
            {
            return mainId;
            }
    public void setNos(String nos)
            {
            this.nos = nos;
            }

    public String getNos()
            {
            return nos;
            }
    public void setDdDate(Date ddDate)
            {
            this.ddDate = ddDate;
            }

    public Date getDdDate()
            {
            return ddDate;
            }
    public void setSubDate(Date subDate)
            {
            this.subDate = subDate;
            }

    public Date getSubDate()
            {
            return subDate;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getType()
            {
            return type;
            }
    public void setYwType(String ywType)
            {
            this.ywType = ywType;
            }

    public String getYwType()
            {
            return ywType;
            }

    public void setMoney(BigDecimal money)
            {
            this.money = money;
            }

    public BigDecimal getMoney()
            {
            return money;
            }
    public void setCounts(BigDecimal counts)
            {
            this.counts = counts;
            }

    public BigDecimal getCounts()
            {
            return counts;
            }
    public void setDunwei(BigDecimal dunwei)
            {
            this.dunwei = dunwei;
            }

    public BigDecimal getDunwei()
            {
            return dunwei;
            }
    public void setSupplierId(String supplierId)
            {
            this.supplierId = supplierId;
            }

    public String getSupplierId()
            {
            return supplierId;
            }
    public void setSupplierName(String supplierName)
            {
            this.supplierName = supplierName;
            }

    public String getSupplierName()
            {
            return supplierName;
            }
    public void setDeptId(String deptId)
            {
            this.deptId = deptId;
            }

    public String getDeptId()
            {
            return deptId;
            }
    public void setDeptName(String deptName)
            {
            this.deptName = deptName;
            }

    public String getDeptName()
            {
            return deptName;
            }
    public void setUserId(String userId)
            {
            this.userId = userId;
            }

    public String getUserId()
            {
            return userId;
            }
    public void setUserName(String userName)
            {
            this.userName = userName;
            }

    public String getUserName()
            {
            return userName;
            }
    public void setState(String state)
            {
            this.state = state;
            }

    public String getState()
            {
            return state;
            }
    public void setRukupeople(String rukupeople)
            {
            this.rukupeople = rukupeople;
            }

    public String getRukupeople()
            {
            return rukupeople;
            }
    public void setRukuid(String rukuid)
            {
            this.rukuid = rukuid;
            }

    public String getRukuid()
            {
            return rukuid;
            }
    public void setRukuDate(Date rukuDate)
            {
            this.rukuDate = rukuDate;
            }

    public Date getRukuDate()
            {
            return rukuDate;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getDaohuoId() {
        return daohuoId;
    }

    public void setDaohuoId(String daohuoId) {
        this.daohuoId = daohuoId;
    }

    public String getDaohuoNos() {
        return daohuoNos;
    }

    public void setDaohuoNos(String daohuoNos) {
        this.daohuoNos = daohuoNos;
    }

    public List<LvRukumingxi> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<LvRukumingxi> detailList) {
        this.detailList = detailList;
    }

    public String getProduceRecordId() {
        return produceRecordId;
    }

    public void setProduceRecordId(String produceRecordId) {
        this.produceRecordId = produceRecordId;
    }

    public String getProduceRecordNos() {
        return produceRecordNos;
    }

    public void setProduceRecordNos(String produceRecordNos) {
        this.produceRecordNos = produceRecordNos;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("delFlag",getDelFlag())
                .append("createBy",getCreateBy())
                .append("createTime",getCreateTime())
                .append("updateBy",getUpdateBy())
                .append("updateTime",getUpdateTime())
                .append("remark",getRemark())
                .append("code", getCode())
                .append("name", getName())
                .append("mainId",getMainId())
                .append("nos", getNos())
                .append("ddDate",getDdDate())
                .append("subDate",getSubDate())
                .append("type", getType())
                .append("ywType",getYwType())
                .append("money",getMoney())
                .append("counts",getCounts())
                .append("dunwei",getDunwei())
                .append("supplierId",getSupplierId())
                .append("supplierName",getSupplierName())
                .append("deptId",getDeptId())
                .append("deptName",getDeptName())
                .append("userId",getUserId())
                .append("userName",getUserName())
                .append("state",getState())
                .append("rukupeople",getRukupeople())
                .append("rukuid",getRukuid())
                .append("rukuDate",getRukuDate())
                .append("status",getStatus())
                .toString();
    }
}
